package com.yfp.goods.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.io.Serializable;

public class GoodsDetailImgVo implements Serializable {
    private static final long serialVersionUID = -11323460418465837L;

    private Long id;
    /**
     * 商品id
     */
    @Schema(title = "商品id")
    private String goodsId;
    /**
     * 资源id
     */
    @Schema(title = "资源id")
    private String resourceId;

    /**
     * 图片类型 1-封面图 2-详细图
     */
    @Schema(title = "图片类型 1-封面图 2-详细图")
    private Integer imgType;
    /**
     * 资源类型 1-图片 2-视频
     */
    @Schema(title = "资源类型 1-图片 2-视频")
    private Integer resourceType;

    @Schema(title = "资源url")
    private String resourceUrl;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public Integer getImgType() {
        return imgType;
    }

    public void setImgType(Integer imgType) {
        this.imgType = imgType;
    }

    public Integer getResourceType() {
        return resourceType;
    }

    public void setResourceType(Integer resourceType) {
        this.resourceType = resourceType;
    }
}
